package com.xuetang9.t9.xinhuaxia.beans;

import javax.persistence.*;

@Table(name = "brand")
public class Brand {
    /**
     * 品牌id
     */
    @Id
    @Column(name = "b_id")
    private Long bId;

    /**
     * 品牌名
     */
    @Column(name = "b_name")
    private String bName;

    /**
     * 供应商
     */
    @Column(name = "b_supplierId")
    private Long bSupplierid;

    /**
     * 获取品牌id
     *
     * @return b_id - 品牌id
     */
    public Long getbId() {
        return bId;
    }

    /**
     * 设置品牌id
     *
     * @param bId 品牌id
     */
    public void setbId(Long bId) {
        this.bId = bId;
    }

    /**
     * 获取品牌名
     *
     * @return b_name - 品牌名
     */
    public String getbName() {
        return bName;
    }

    /**
     * 设置品牌名
     *
     * @param bName 品牌名
     */
    public void setbName(String bName) {
        this.bName = bName;
    }

    /**
     * 获取供应商
     *
     * @return b_supplierId - 供应商
     */
    public Long getbSupplierid() {
        return bSupplierid;
    }

    /**
     * 设置供应商
     *
     * @param bSupplierid 供应商
     */
    public void setbSupplierid(Long bSupplierid) {
        this.bSupplierid = bSupplierid;
    }
}